//
//  HomeTradingOfCharactersSubView.m
//  gamebox_qpp
//
//  Created by 赵隆杰 on 2022/12/8.
//

#import "HomeTradingOfCharactersSubView.h"

@interface HomeTradingOfCharactersSubView ()

@property (weak, nonatomic) IBOutlet YYAnimatedImageView *gameIcon;
@property (weak, nonatomic) IBOutlet UILabel *gameNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *gameSubNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *priceLabel;


@end

@implementation HomeTradingOfCharactersSubView

- (void)setDetailModel:(GameDetailNewModel *)detailModel
{
    
    [self.gameIcon yy_setImageWithURL:[NSURL URLWithString:detailModel.gameMainIcon] placeholder:placeholder_image];
    self.gameNameLabel.text = detailModel.gameName;
    self.gameSubNameLabel.text = [NSString stringWithFormat:@" %@  ", detailModel.gameSubName];

}


@end
